from selenium.webdriver.common.by import By

from wewrok_app_po.Base.wework_app import WeWorkApp
from wewrok_app_po.Page.clock_page import ClockPage


class WorkStaging(WeWorkApp):
    _CLOCK = By.XPATH,"//*[@text='打卡']"
    def goto_clock(self):
        self.swipe_element(*self._CLOCK).click()
        return ClockPage(self.driver)